package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.DynamicTopic;
import com.ytjj.qmyx.mall.model.DynamicTopicExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DynamicTopicMapper {
    long countByExample(DynamicTopicExample example);

    int deleteByExample(DynamicTopicExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DynamicTopic record);

    int insertSelective(DynamicTopic record);

    List<DynamicTopic> selectByExample(DynamicTopicExample example);

    DynamicTopic selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DynamicTopic record, @Param("example") DynamicTopicExample example);

    int updateByExample(@Param("record") DynamicTopic record, @Param("example") DynamicTopicExample example);

    int updateByPrimaryKeySelective(DynamicTopic record);

    int updateByPrimaryKey(DynamicTopic record);
}